from django.urls import path

from .views.index import HomeView, LoginView, LogoutView, RegView
from .views.captcha import CaptchaView

urlpatterns = [
    path('', HomeView.as_view(), name='首页'),
    path('login', LoginView.as_view(), name='登录'),
    path('reg', RegView.as_view(), name='注册'),
    path('logout', LogoutView.as_view(), name='退出'),
    path('captcha', CaptchaView.as_view(), name='获取验证码'),
]
